package com.car.service.impl;

import com.car.dao.XiaohaoMapper;
import com.car.entity.Xiaohao;
import com.car.service.IXiaohaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @author: hsy
 * @version: v1.0
 * @Date
 */
@Service("xiaohaoService")
public class XiaohaoService implements IXiaohaoService {
    @Autowired
    @Qualifier("xiaohaoMapper")
    private XiaohaoMapper xiaohaoMapper;
    @Override
    public List<Xiaohao> findAll() {
        return xiaohaoMapper.findAll();
    }
}
